<template>
  <div class="capital">
    <div class="top">
      <van-cell class="title">
        <template #icon>
          <van-icon name="arrow-left" @click="$router.back()" />
        </template>
        <template #default> 账户安全中心 </template>
        <template #extra> 客服 </template>
      </van-cell>
      <div class="img">
        <img src="../../../assets/低.png" alt="" />
      </div>
      <div class="text">安全指数较低，请尽快完成设置提升安全性。</div>
      <div class="buttom">
        <p>上次登录IP：117.22.201.33（广东深圳） 04/09 04:10:23</p>
        <p>如非本人操作，请立即更改密码，避免账户遭受损失。</p>
      </div>
    </div>

    <van-cell
      title="登录密码 "
      @click="$router.push('/change-password')"
      is-link
      value="修改密码"
    />
    <van-cell
      title="资金密码"
      is-link
      value="未设置"
      @click="$router.push('/moneypassword')"
    />
    <van-cell
      title="提现银行卡（账户）管理"
      is-link
      value="绑定银行卡（账户）"
      @click="$router.push('/bankingCard')"
    />
  </div>
</template>

<script>
export default {}
</script>

<style scoped lang="less">
.top {
  width: 100%;
  height: 760px;
  box-sizing: border-box;
  padding-top: 50px;
  margin-bottom: 20px;
  background: url(../../../assets/上色.png);
  .van-cell::after {
    border-bottom: 0;
  }

  .title {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: transparent;
    margin-bottom: 20px;
    color: #fff;
    font-size: 32px;

    .van-cell__value {
      color: #fff;
      text-align: center;
      font-size: 50px;
    }
  }
  .img {
    width: 270px;
    height: 270px;
    margin-left: 50%;
    margin-bottom: 24px;
    transform: translateX(-50%);
  }
  .text {
    font-size: 24px;
    text-align: center;
    line-height: 42px;
    margin-bottom: 122px;
    color: #fff;
    background: linear-gradient(270deg, #93aef800, #ffffff33, #93aef800);
  }
  .buttom {
    display: flex;
    flex-direction: column;
    text-align: center;
    height: 144px;
    background-color: #f9e8c7;
    border-top-right-radius: 10px;
    border-top-left-radius: 10px;
  }
  .buttom p:nth-child(1) {
    font-size: 26px;
    margin: 0;
    margin: 32px 0 16px;
    color: #323233;
    font-weight: 700;
  }
  .buttom p:nth-child(2) {
    font-size: 22px;
    margin: 0;
    color: #5c5d60;
  }
}
.capital {
  height: 100vh;
  background-color: #f0f0f0;
}
/deep/ i.van-icon-arrow.van-cell__right-icon::before {
  color: #000;
}
</style>
